﻿using System;
using System.Xml.Serialization;

namespace EpiNEXT.Services.Fields
{
    //[Serializable()]
    public class MirrorField : FieldWithSeparatePrompt
    {
        public MirrorField()
            : base()
        {
            InputFontSize = Constants.DEFAULT_INPUT_FONT_SIZE;
            PromptFontSize = Constants.DEFAULT_PROMPT_FONT_SIZE;
            IsReadOnly = true;
            IsRequired = false;
            InputHeight = Double.NaN;
        }

        [XmlIgnore]
        public Field FieldToMirror { get; set; }

        [XmlElement]
        public Guid FieldIdToMirror { get; set; }
    }
}
